package p3;

/**
 * @author krystal
 * @date 2022/11/9 20:15
 */
public class Demo12 {
    public static void main(String[] args) {
        for (int i = 0; i < 1000; i++) {
            int bai = i / 100;
            int shi = (i / 10)% 10;
            int ge = i % 10;
            if(i == (bai*bai*bai + shi*shi*shi + ge*ge*ge)){
                System.out.println(i);
            }
        }
    }
}
